﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="transectionDetail.aspx.cs" Inherits="Export.Web.Ui.pages.transectionDetail" %>


<asp:Content ID="Content1" ContentPlaceHolderID="cp_head" runat="server">
    <%-- <script src="/js/jquery.tmpl.min.js" type="text/javascript"></script>
    <script src="/js/jquery.iframe-transport.js" type="text/javascript"></script>
    <script src="/js/jquery.uniform.min.js" type="text/javascript"></script>--%>
    <%--<script src="/js/jquery.smartWizard.min.js" type="text/javascript"></script>--%>
    <script src="/Scripts/datagrid-filter.js"></script>
    <%-- <script src="/scripts/jquery.form.js"></script>--%>
    <script src="/Scripts/export/transectionDetail.js"></script>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cp_body" runat="server">


    <h2 style="float: left">Transaction Details</h2>
    <div class="demo-tip icon-tip" style="float: left;">
        &nbsp;
    </div>

    <div style="clear: both">
    </div>
    <table id="transectionAll" title="Transaction" class="easyui-datagrid" style="width: auto; height: 500px;"
        rownumbers="true" toolbar="#toolbar"
        fitcolumns="true" singleselect="true">
        <thead>
            <tr>
                <th field="UpdateDate" width="30" align="center" sortable="true" formatter="formatDate">Date
                </th>

                <th field="OrderNo" width="20" align="center">OrderNo
                </th>
                <th field="RefOrderNo" width="20" align="center">OrderNo Upload
                </th>
                <th field="MaterialNo" width="40" align="center">MaterialNo
                </th>
                 <th field="ProductName" width="50" align="center">MaterialName
                </th>
                <th field="Qty" width="20" align="center" formatter="formatQty">QTY
                </th>

                <th field="Plant" width="20" align="center">Plant
                </th>
                <th field="PlantExport" width="20" align="center">Dest. Plant
                </th>
                <th field="UpdateBy" width="30" align="center">MoveType
                </th>
                <th field="Result" width="20" align="center">MatNo From SAP
                </th>
            </tr>
        </thead>
    </table>

    <div id="toolbar">
        <br />
        <div>
            <div style="margin-top: 10px;">
                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 70px">Date From: </span>
                    <input id="dateFrom" class="easyui-datebox" style="width: 80px">
                </div>
                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 60px">Date To: </span>
                    <input id="dateTo" class="easyui-datebox" style="width: 80px">
                </div>

                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 60px">Plant: </span>
                    <input id="plantSrc" style="width: 80px">
                </div>

                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 60px">Dest Plant:</span>
                    <input id="plantDest" style="width: 80px">
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="margin-top: 10px;">
                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 70px">Order No:</span>
                    <input id="orderId" style="width: 80px">
                </div>
                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 60px">Mat No:</span>
                    <input id="productId" style="width: 80px">
                </div>
                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 60px">Po No:</span>
                    <input id="poId" style="width: 80px">
                </div>
                <div style="float: left; width: 200px;">
                    <span style="display: inline-block; width: 60px">Move Type:</span>
                    <input id="moveType" style="width: 80px">
                </div>
            </div>
            <div style="clear: both">
            </div>
            <div style="margin-top: 10px;">
                <div style="float: left; width: 300px;">
                    <span style="display: inline-block; width: 70px">Status:</span>
                    <select id="status" class="easyui-combobox" name="state" style="width: 150px;">
                        <option value="">Not specific</option>
                        <option value="1">Draft</option>
                        <option value="2">Wait for approve</option>
                        <option value="3">On Queue</option>
                        <option value="4">Completed</option>
                        <option value="5">Rejected</option>
                    </select>
                </div>
                <div style="float: left; width: 300px;">
                    <span style="display: inline-block; width: 60px">Issue By:</span>
                    
                    <select id="issueBy" class="easyui-combobox" name="state" style="width: 150px;">
                        <option value="">Not specific</option>
                        <option value="Upload Order">Upload Order</option>
                        <option value="ATP">ATP</option>
                        <option value="Queue Mapped">Queue Mapped</option>
                    </select>
                </div>

            </div>
            <div style="clear: both">
            </div>
            <div style="margin-top: 10px; margin-bottom: 5px;">

                <a href="#" onclick="searchTransaction();" class="easyui-linkbutton" iconcls="icon-search">Search</a>
            </div>
        </div>

    </div>




</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cp_scriptBelow" runat="server">
</asp:Content>
